package top.xtcoder.jdcbase.base.vo.auth;

import java.util.List;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("角色授权参数")
public class RolePermParam {
	@ApiModelProperty("需要授权的角色id")
	@NotBlank(message = "需要授权的角色id不能为空")
	private String roleid;
	
	@ApiModelProperty("给角色授权的权限id")
	@NotBlank(message = "给角色授权的权限id不能为空")
	private String permid;
	
	@ApiModelProperty("拥有的按钮")
	private List<String> hasBtns;
	
	@ApiModelProperty("是否选中: false没选中  true选中")
	private boolean isselect;
	
	public String getRoleid() {
		return roleid;
	}
	public void setRoleid(String roleid) {
		this.roleid = roleid;
	}
	public String getPermid() {
		return permid;
	}
	public void setPermid(String permid) {
		this.permid = permid;
	}
	public boolean getIsselect() {
		return isselect;
	}
	public void setIsselect(boolean isselect) {
		this.isselect = isselect;
	}
	public List<String> getHasBtns() {
		return hasBtns;
	}
	public void setHasBtns(List<String> hasBtns) {
		this.hasBtns = hasBtns;
	}
}
